/*  1:   */ package test.fy;
/*  2:   */ 
/*  3:   */ import fy.util.MyUtil;
/*  4:   */ import java.io.PrintStream;
/*  5:   */ import java.util.ArrayList;
/*  6:   */ import java.util.List;
/*  7:   */ import org.dom4j.Document;
/*  8:   */ import org.dom4j.DocumentException;
/*  9:   */ import org.dom4j.Element;
/* 10:   */ import org.dom4j.io.SAXReader;
/* 11:   */ 
/* 12:   */ public class FlowReader
/* 13:   */ {
/* 14:14 */   public static List<String> nodeIDList = new ArrayList();
/* 15:15 */   public static List<String> joinList = new ArrayList();
/* 16:   */   
/* 17:   */   public static void main(String[] args)
/* 18:   */   {
/* 19:18 */     SAXReader reader = new SAXReader();
/* 20:   */     try
/* 21:   */     {
/* 22:20 */       Document doc = reader.read(MyUtil.getRealPath(FlowReader.class) + 
/* 23:21 */         "/flow.xml");
/* 24:   */       
/* 25:23 */       List list = doc.selectNodes("//values//column");
/* 26:25 */       for (int i = 0; i < list.size(); i++)
/* 27:   */       {
/* 28:26 */         Element e = (Element)list.get(i);
/* 29:27 */         System.out.print(e.attributeValue("name"));
/* 30:28 */         System.out.println(":" + 
/* 31:29 */           ((Element)e.elements().get(0)).getText()
/* 32:30 */           .replace("<![CDATA[", "").replace("]]>", ""));
/* 33:   */       }
/* 34:   */     }
/* 35:   */     catch (DocumentException e)
/* 36:   */     {
/* 37:77 */       e.printStackTrace();
/* 38:   */     }
/* 39:   */   }
/* 40:   */ }


/* Location:           C:\Users\GNB543\Desktop\classes\
 * Qualified Name:     test.fy.FlowReader
 * JD-Core Version:    0.7.0.1
 */